package cn.jsj.cxsys.service;

import cn.jsj.cxsys.pojo.*;
import java.util.*;

public interface UserService
{
    String RegisterStudent(final User user);

    String RegisterTeacher(final User user);

    String login(final User user);

    String login(final String account, final String password);

    List<String> getAllClassName();

    String updateUserInformation(final User user);

    User getUserByAccount(final String account, final String password);

    List<User> findAllUsers(final String account, final String password, final int pageNum, final int pageSize);

    String updateUserInformation(final String superAccount, final String password, final List<User> user);

    String checkStudentState(final User user);

    int getUserNumber();

    int countTeachers();

    String changePassword(final String account, final String password, final String newPassword);

    List<User> superGetAllTeacher(final String superAccount, final String password, final int pageNum, final int pageSize);

    List<User> searchUsers(final String superAccount, final String password, final int userID, final String account, final String className, final String name, final String teleNumber, final int pageNum, final int pageSize);
}
